<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ page import="Specials.SpecialsDeal"%>
<html>
  <head>
    <title>处理订单</title>
  </head>
  
  <body><% 
  SpecialsDeal Specials=new SpecialsDeal();
  String AppID=(String)request.getParameter("AppID");
  int k=Integer.parseInt(request.getParameter("k"));
  if(Specials.UpdateSpecials(AppID,k)==1)
  {
       out.print("<script>alert('修改成功 ')</script>");
       
  }
  else
  {
        out.print("<script>alert('修改失败 ')</script>");    
  }
  
  %>
   <script type="text/javascript">

        window.location.href="SpecialsDeal.jsp";    

   </script>


  </body>
</html>
